package com.gy.hsim.bservice.userGroupingManagement.bean;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @ClassName: Group
 * @Description: 群实体bean
 * @author quanrj 
 * @date 2015-12-11 上午09:57:19
 */
public class Group {
	
	/**
	 * 群ID
	 */
	private String groupId;
	
	/**
	 * 群名称
	 */
	private String groupName;
	
	/**
	 * 群描述
	 */
	private String groupDesc;
	
	/**
	 * 群图标
	 */
	private String groupIcon;
	
	/**
	 * 群创建者
	 */
	private String groupCreator;
	
	/**
	 * 群拥有者
	 */
	private String groupHost;
	
	/**
	 * 群创建者昵称
	 */
	private String groupCreatorNickname;
	
	/**
	 * 群地理位置（城市）
	 */
	private String groupPosition;
	
	/**
	 * 群分类
	 */
	private String groupClass;
	
	/**
	 * 群标签
	 */
	private String groupClassIficationTag;
	
	/**
	 * 是否公司内部群,Y表示公司内部群，N表示不是，默认N
	 */
	private String groupIsCompanyInner;
	
	/**
	 * Y表示有效，N表示无效，默认Y
	 */
	private String groupIsactive;
	
	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private String groupCreated;
	
	/**
	 * 更新时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private String groupUpdated;

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getGroupDesc() {
		return groupDesc;
	}

	public void setGroupDesc(String groupDesc) {
		this.groupDesc = groupDesc;
	}

	public String getGroupIcon() {
		return groupIcon;
	}

	public void setGroupIcon(String groupIcon) {
		this.groupIcon = groupIcon;
	}

	public String getGroupCreator() {
		return groupCreator;
	}

	public void setGroupCreator(String groupCreator) {
		this.groupCreator = groupCreator;
	}

	public String getGroupPosition() {
		return groupPosition;
	}

	public void setGroupPosition(String groupPosition) {
		this.groupPosition = groupPosition;
	}

	public String getGroupClassIficationTag() {
		return groupClassIficationTag;
	}

	public void setGroupClassIficationTag(String groupClassIficationTag) {
		this.groupClassIficationTag = groupClassIficationTag;
	}

	public String getGroupIsCompanyInner() {
		return groupIsCompanyInner;
	}

	public void setGroupIsCompanyInner(String groupIsCompanyInner) {
		this.groupIsCompanyInner = groupIsCompanyInner;
	}

	public String getGroupCreated() {
		return groupCreated;
	}

	public void setGroupCreated(String groupCreated) {
		this.groupCreated = groupCreated.substring(0,groupCreated.lastIndexOf("."));
	}

	public String getGroupUpdated() {
		return groupUpdated;
	}

	public void setGroupUpdated(String groupUpdated) {
		this.groupUpdated = groupUpdated.substring(0,groupUpdated.lastIndexOf("."));
	}

	public String getGroupClass() {
		return groupClass;
	}

	public void setGroupClass(String groupClass) {
		this.groupClass = groupClass;
	}

	public String getGroupIsactive() {
		return groupIsactive;
	}

	public void setGroupIsactive(String groupIsactive) {
		this.groupIsactive = groupIsactive;
	}

	public String getGroupCreatorNickname() {
		return groupCreatorNickname;
	}

	public void setGroupCreatorNickname(String groupCreatorNickname) {
		this.groupCreatorNickname = groupCreatorNickname;
	}

	public String getGroupHost() {
		return groupHost;
	}

	public void setGroupHost(String groupHost) {
		this.groupHost = groupHost;
	}
	
				
}
